package com.njtoyo.taxi.admin.mapper.secondary.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;

public enum DataOrderType {
    pickOnline(1, "接单-线上"),
    pickScan(2, "接单-扫码"),
    noResponseAppointment(3, "无应答-预约"),
    noResponseReal(4, "无应答-实时"),
    simpleCall(5, "一键叫车"),
    phoneCall(6, "电话叫车"),
    orderCancel(7, "取消订单");

    @EnumValue
    private final int code;
    private final String desc;

    DataOrderType(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public int getCode() {
        return code;
    }
}
